package bean;

import java.util.List;

import org.bson.types.ObjectId;

import com.google.code.morphia.annotations.Embedded;
import com.google.code.morphia.annotations.Entity;
import com.google.code.morphia.annotations.Id;
import com.sun.org.apache.xpath.internal.operations.Mod;

import play.modules.morphia.Model;

/***
 * <p>
 * Title:User.java
 * </p>
 * <p>
 * Description://TODO
 * </p>
 * <p>
 * Company:iSing
 * </p>
 * 
 * @author Dean.Wong
 * @date 2015年12月25日
 */
@Entity
public class User extends Model {
	@Id
	private ObjectId userId;
	private String username;
	private String password;

	public ObjectId getUserId() {
		return userId;
	}

	public void setUserId(ObjectId userId) {
		this.userId = userId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public User(String username, String password) {
		super();
		this.username = username;
		this.password = password;
	}

}
